Auto merge of #1812 - alexcrichton:moar-filtering, r=huonw
authorbors <bors@rust-lang.org>
Fri, 17 Jul 2015 17:23:19 +0000 (17:23 +0000)
committerbors <bors@rust-lang.org>
Fri, 17 Jul 2015 17:23:19 +0000 (17:23 +0000)
commit19232413869f17e3b12e93663c955d83fde76977
treecd6bf0cba71f97b624ec03b29634397ae2a77e99
parent6919fbfb93bf5adc22ef5502e700e36b48816082
parent70152d800313e0db1c4112e0debed960e058335e
Auto merge of #1812 - alexcrichton:moar-filtering, r=huonw

Development dependencies are traversed during the resolution process, causing
them to be returned as the list of dependencies for a package in terms of
resolution. The compilation phase would then filter these out depending on the
dependency's transitivity, but this was incorrectly accounted for when the
dependency showed up multiple times in a few lists.

This commit fixes this behavior by updating the filtering logic to ensure that
only activated optional dependencies (those whose feature names are listed) are
compiled.

Closes #1805